----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
      name:  <unnamed>
       log:  c:\expats\Partisanship.Invitation\Replication\Mex.imm.2008.Tab.5b.log
  log type:  text
 opened on:   2 Mar 2016, 17:41:40

. use C:\expats\Partisanship.Invitation\Replication\Mex.imm.2008.Tab.4-6.dta;

. symmetry uspid2 uspid1 if ad22==1;

-------------------------------------------------
                     | party ID, pre-treatment in
party ID, Nov survey |            Sept           
wave                 |  Dem    Rep     3    Total
---------------------+---------------------------
            Democrat |   48      3     32     83 
          Republican |    1      4      5     10 
Other/NS/Independent |    7      2     31     40 
                     | 
               Total |   56      9     68    133 
-------------------------------------------------

                                             chi2     df      Prob>chi2
------------------------------------------------------------------------
Symmetry (asymptotic)                 |     18.31      3         0.0004
Marginal homogeneity (Stuart-Maxwell) |     18.11      2         0.0001
------------------------------------------------------------------------

. symmetry uspid2 uspid1 if ad22==2;

-------------------------------------------------
                     | party ID, pre-treatment in
party ID, Nov survey |            Sept           
wave                 |  Dem    Rep     3    Total
---------------------+---------------------------
            Democrat |   30      3     24     57 
          Republican |    2      4      3      9 
Other/NS/Independent |   11      5     28     44 
                     | 
               Total |   43     12     55    110 
-------------------------------------------------

                                             chi2     df      Prob>chi2
------------------------------------------------------------------------
Symmetry (asymptotic)                 |      5.53      3         0.1369
Marginal homogeneity (Stuart-Maxwell) |      5.03      2         0.0810
------------------------------------------------------------------------

. symmetry uspid2 uspid1 if ad22==3;

-------------------------------------------------
                     | party ID, pre-treatment in
party ID, Nov survey |            Sept           
wave                 |  Dem    Rep     3    Total
---------------------+---------------------------
            Democrat |   62      4     48    114 
          Republican |    4      7      6     17 
Other/NS/Independent |   18      7     87    112 
                     | 
               Total |   84     18    141    243 
-------------------------------------------------

                                             chi2     df      Prob>chi2
------------------------------------------------------------------------
Symmetry (asymptotic)                 |     13.71      3         0.0033
Marginal homogeneity (Stuart-Maxwell) |     12.41      2         0.0020
------------------------------------------------------------------------

. 
end of do-file

. exit, clear
